from settings import settings

FILTERS = []
ENABLE_NETWORK_FILTERS = settings.getSetting("filters.enabled", "true") == "true"

def registerFilter(filter):
    if filter is not None:
        FILTERS.append(filter)